package com.itfreer.cms.service.content;

import javax.ws.rs.Path;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import com.itfreer.cms.entity.content.SubjectEntity;
import com.itfreer.cms.service.content.SubjectService;
import com.itfreer.form.api.BaseRestService;
import com.itfreer.form.api.BaseService;

/**
 * 定义专题管理服务
 */
@Component
@Path("/cms_subject/")
public class RestSubjectService extends BaseRestService<SubjectEntity> {

	@Autowired
	private SubjectService subjectManage;
	
	@Override
	protected BaseService<SubjectEntity> getService() {
		return subjectManage;
	}

	@Override
	protected String getServiceName() {
		return "cms_subject";
	}
}
